package routers

import (
	"WEB/controllers"
	"WEB/controllers/customerController"
	"WEB/controllers/sellControllers"
	"github.com/astaxie/beego"
)

func init() {

	beego.Router("/customer/about", &customerController.AboutController{})

	beego.Router("/customer/buytoday", &customerController.BuytodayController{})

	beego.Router("/customer/commodity", &customerController.CommodityController{})

	beego.Router("/customer/details", &customerController.DetailsController{})

	beego.Router("/customer/error", &customerController.ErrorController{})

	beego.Router("/customer/index", &customerController.IndexController{})

	beego.Router("/customer/information", &customerController.InformationController{})

	beego.Router("/customer/login", &customerController.LoginController{})

	beego.Router("/customer/logout", &customerController.LoginController{}, "get:Logout")

	beego.Router("/customer/register", &customerController.RegisterController{})

	beego.Include(&customerController.ShopcartController{})

	beego.Router("/customer/", &customerController.IndexController{})

	beego.Router("/customer/test", &customerController.TestController{})

	beego.Include(&sellControllers.SellUserController{})

	beego.Include(&sellControllers.SellBaseController{})

	beego.Include(&customerController.SearchController{})

	beego.Include(&customerController.OrderContoller{})

	beego.Include(&sellControllers.SellStoreController{})

	beego.Include(&sellControllers.SellGoodController{})

	beego.Include(&controllers.ErrorController{})

	beego.Include(&customerController.StoreController{})

	beego.Include(&sellControllers.OrderContoller{})

	beego.Router("/", &customerController.IndexController{})

	beego.Router("/index", &customerController.IndexController{})

}
